<?php


class defaultActions extends sfActions
{
  public function executeError404(sfWebRequest $request)
  {
	  
  }
  
  public function executeIndex(sfWebRequest $request)
  {
	$culture=$this->getUser()->getCulture();
	$this->charters = Doctrine_Core::getTable('Charter')->getAll($culture); 
    $this->brokerages = Doctrine_Core::getTable('Brokerage')->getAll($culture);
    $this->articoli = Doctrine_Core::getTable('Articoli')->getLast($culture);
  }

}
